package notes.java.sjms23.t21_builder;

// 建造者模式 - 导演者角色
public class CarDirector {
    
    public Car createCar(CarBuilder builder) {
        builder.createRoof();
        builder.createBottom();
        builder.createWheel();
        
        return builder.buildCar();
    }

}
